home *** CD-ROM | disk | FTP | other *** search
/ Medabots Cardz / Medabots CD Cardz Rokusho.bin / pc / assets / rokusho.dxr / 00144_Script_144 < prev    next >
Text File  |  2001-12-07  |  582b  |  26 lines

  1. property mysprite, glowing, counter
  2.  
  3. on beginsprite me
  4.   set mysprite to the spritenum of me
  5. end
  6.  
  7.  
  8. on exitframe me
  9.   if the blend of sprite mysprite = 0 then
  10.     glowing = "up"
  11.   else if the blend of sprite mysprite = 100 then
  12.     glowing = "down"
  13.     counter = 0
  14.   end if
  15.   
  16.   if counter < 20 then
  17.     counter = counter + 1
  18.   end if
  19.   
  20.   if glowing = "up" then
  21.     set the blend of sprite mysprite to the blend of sprite mysprite + 5
  22.   else if glowing = "down" then
  23.     set the blend of sprite mysprite to the blend of sprite mysprite - 5
  24.   end if
  25.   
  26.   end